class ExamCategory {
  String id;
  String name;
  int type;
  int templateNum;

  ExamCategory({
    this.id,
    this.name,
    this.type,
    this.templateNum,
  });

  factory ExamCategory.fromJson(Map<String, dynamic> json) {
    return ExamCategory(
      id: json['id'],
      name: json['cateName'],
      type: json['type'],
      templateNum: json['templateNum'],
    );
  }
}
